﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace KernelWorkflow
{
    public sealed partial class InnerWorkflow : SequentialWorkflowActivity
    {
        public string inputstring { get; set; }
        
        //public string outputstring { get; set; }
                

        public InnerWorkflow()
        {
            InitializeComponent();
        }
        
        private void codeActivity1_ExecuteCode(object sender, EventArgs e)
        {
            Console.WriteLine("TROUBLE WITH THIS BAD WORKFLOW {0}", inputstring);
            Console.WriteLine(this.Parent);
        }
    }

}
